Manager: Text Services Manager



Carbon supports nearly all Text Services Manager functions. The exceptions are those functions, such as NewServiceWindow and CloseServiceWindow, used to create and manage floating utility windows. If you have a TSM component that uses floating utility windows, you should replace these functions with equivalent Mac OS 8.5 Window Manager functions, which offer more complete support for creating and managing floating windows.

For example, instead of the NewServiceWindow function, you can use the Window Manager function CreateNewWindow, and specify either kFloatingWindowClass or kUtilityWindowClass.

Likewise, use DisposeWindow instead of CloseServiceWindow, GetFrontWindowOfClass instead of GetFrontServiceWindow, and FindWindowOfClass instead of FindServiceWindow.

Finally, the TSMEvent, TSMMenuSelect, and SetTSMCursor functions no longer need to be called, so they are not included in Carbon.

Supported  ActivateTextService

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  ActivateTSMDocument

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  CloseServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to CloseServiceWindow with calls to the Window Manager function DisposeWindow. Not available in Carbon.

Supported  CloseTextService

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  CloseTSMAwareApplication

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Supported  DeactivateTextService

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DeactivateTSMDocument

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  DeleteTSMDocument

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  FindServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to FindServiceWindow with calls to the Window Manager function FindWindow. Not available in Carbon.

Supported  FixTextService

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  FixTSMDocument

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetDefaultInputMethod

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  GetFrontServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, replace calls to GetFrontServiceWindow with calls to the Window Manager function FrontWindow. Not available in Carbon.

Supported  GetScriptLanguageSupport

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetServiceList

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetTextServiceLanguage

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetTextServiceMenu

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  GetTextServiceProperty

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  HidePaletteWindows

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  InitiateTextService

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  InitTSMAwareApplication

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Unsupported  NewCServiceWindow

Replace calls to NewCServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.

Unsupported  NewServiceWindow

Replace calls to NewServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.

Supported  NewTSMDocument

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  OpenTextService

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SendAEFromTSMComponent

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetDefaultInputMethod

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  SetTextServiceCursor

Not available in Carbon.

Supported  SetTextServiceLanguage

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Supported  SetTextServiceProperty

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  SetTSMCursor

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Supported  TerminateTextService

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

Unsupported  TextServiceEvent

Not available in Carbon.

Under Evaluation  TextServiceEventRef

Available in Mac OS 8.1 and later when Carbon 1.1 or later is present.

Unsupported  TextServiceMenuSelect

Not available in Carbon.

Unsupported  TSMEvent

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Unsupported  TSMMenuSelect

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Unsupported  UCTextServiceEvent

This function isn't useful. Not available in Carbon.

Unsupported  UCTextServiceEventRef

This function isn't useful.

Supported  UseInputWindow

Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 5/11/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.